export interface ResponseData {
  code: number;
  message: string;
  ok: boolean;
}

export interface userObj {
  id?: number;
  username: string;
  password: string;
  name: string;
  phone?: any;
  roleName?: string;
}

export type records = userObj[];

export interface userResponseData extends ResponseData {
  data: {
    records: records;
    total: number;
    size: number;
    current: number;
    orders: any[];
    optimizeCountSql: boolean;
    hitCount: boolean;
    countId: any;
    maxLimit: any;
    searchCount: boolean;
    pages: number;
  };
}
